// JavaScript Document
function switch1(){
	var s = document.getElementById("r_top");
	if(s.style.display == 'none'){
		s.style.display = '';
	} else {
		s.style.display = 'none';
	}
}

function switch2(){
	var s_l = document.getElementById("r_right");
	var s_r = document.getElementById("con_cz");
	var c = document.getElementById("content_main");
	var r = document.getElementById("content_main_r");
	if(s_l.style.display == 'none'){
		s_l.style.display = '';
		if(s_r.style.display == 'none'){
			c.style.width='12%';
			r.style.width='88%';
		} else {
			c.style.width='60%';
			r.style.width='40%';
		}
		
		
	} else {
		s_l.style.display = 'none';
		c.style.width='88%';
		r.style.width='12%';
	}
}

function switch3(){
	var s = document.getElementById("r_bottom");
	if(s.style.display == 'none'){
		s.style.display = '';
	} else {
		s.style.display = 'none';
	}
}
function switch4(){
	var s = document.getElementById("r_bottom1");
	if(s.style.display == 'none'){
		s.style.display = '';
	} else {
		s.style.display = 'none';
	}
}

function switch_cz(){
	var s_l = document.getElementById("con_cz");
	var s_r = document.getElementById("r_right");
	var c = document.getElementById("content_main");
	var r = document.getElementById("content_main_r");
	if(s_l.style.display == 'none'){
		s_l.style.display = '';
		if(s_r.style.display == 'none'){
			c.style.width='88%';
			r.style.width='12%';
		}else{
			c.style.width='60%';
			r.style.width='40%';
		}
		
	} else {
		s_l.style.display = 'none';
		c.style.width='12%';
		r.style.width='88%';
	}
}